#pragma once
#pragma once
#ifndef TEACHERDB_H_
#define TEACHERDB_H_
#include <string>
#include "Database.h"
#include "Teacher.h"
class TeacherDB:public Database
{
public:
	TeacherDB();
	Teacher selectById(const std::string &id);
	list<Teacher> selectAll();
	void deleteById(const std::string &i);
	void update(Teacher &t);
	void insert(Teacher &t);
	~TeacherDB();
};

#endif // !TEACHERDB_H_
